package org.esgi.model.impl;

import java.util.List;

import org.esgi.model.interfaces.IAnswer;
import org.esgi.model.interfaces.IQuestion;

public class Question implements IQuestion
{
	private String id_;
	private String text_;
	private List<IAnswer> answers_;
	
	@Override
	public String getId() 
	{
		return this.id_;
	}

	@Override
	public void setId(String anId)
	{
		this.id_ = anId;
	} 
	
	@Override
	public String getText() 
	{
		return this.text_;
	}

	@Override
	public void setText(String aText) 
	{
		this.text_ = aText;
	}

	@Override
	public List<IAnswer> getAnswers() 
	{
		return this.answers_;
	}

	@Override
	public void setAnswers(List<IAnswer> answers) 
	{
		this.answers_ = answers;
	}

	@Override
	public String toString() {
		return "Question [id_=" + id_ + ", text_=" + text_ + ", answers_="
				+ answers_ + "]";
	}
	
}
